package com.oop

/**
 * @description:
 * @author: marshal
 * @date: 2021-08-09 5:38 PM
 */
object RrationalTest extends App {
  val r =  Rational(4, 5)
  println(r)

  val oneHalf = new Rational(1, 2)
  val twoThirds = new Rational(2, 3)
//  oneHalf.add(twoThirds)
  println()
}
